package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class OverlapsPredicatePart2 implements WhenOperand {

    private int beginIndex;
    private int endIndex;
    private RowValuePredicand rowValuePredicand;

    public OverlapsPredicatePart2(int beginIndex, RowValuePredicand rowValuePredicand) {
        this.beginIndex = beginIndex;
        this.endIndex = rowValuePredicand.getEndIndex();
        this.rowValuePredicand = rowValuePredicand;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public RowValuePredicand getRowValuePredicand() {
        return rowValuePredicand;
    }

}
